import collect from "./collectors";
import store from "./store";

function index(url: string) {
    return collect(url)
        .on('fetched', store)
}

export default index
